QT -= gui

TEMPLATE = lib
CONFIG += staticlib

CONFIG += c++17

QT += core
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
TARGET = CoreLib

DESTDIR = $$PWD/../plugins/CoreLib
# OBJECTS_DIR = $$DESTDIR/.obj/UIlib
# MOC_DIR = $$DESTDIR/.moc/UIlib
# RCC_DIR = $$DESTDIR/.rcc/UIlib

INCLUDEPATH += $$PWD #因为需要加载头文件
INCLUDEPATH += $$PWD/include  #这里放插件依赖的插件

SOURCES += \
    corelib.cpp

HEADERS += \
    corelib.h

# Default rules for deployment.
unix {
    target.path = $$[QT_INSTALL_PLUGINS]/generic
}
!isEmpty(target.path): INSTALLS += target

# 分发文件（直接复制，不编译）
# DISTFILES += \
#     # 文档
#     README.md \
#     LICENSE \
#     docs/ \
